package top.malegod.model;

/**
 * Create by IntelliJ IDEA
 *
 * @author: AbelEthan
 * @date-Time: 2018/5/31 2:51
 * @description: 积分
 */
public class Integral {

  private Integer id;

  private Integer count;

  private Integer rankId;

  private String userId;

  public Integral() {
  }

  public Integral(Integer id, Integer count, Integer rankId, String userId) {
    this.id = id;
    this.count = count;
    this.rankId = rankId;
    this.userId = userId;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Integer getCount() {
    return count;
  }

  public void setCount(Integer count) {
    this.count = count;
  }

  public Integer getRankId() {
    return rankId;
  }

  public void setRankId(Integer rankId) {
    this.rankId = rankId;
  }

  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  @Override
  public String toString() {
    return "Integral{" +
        "id=" + id +
        ", count=" + count +
        ", rankId=" + rankId +
        ", userId='" + userId + '\'' +
        '}';
  }
}
